﻿<Window x:Class="EditProfessor"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="EditProfessor" Height="440" Width="400">
    <DockPanel>
        <StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom" Height="32" HorizontalAlignment="Center">
            <Button Width="80" Margin="0,0,4,4" Click="OK_Click">OK</Button>
            <Button Width="80" Margin="4,0,0,4" Click="Cancel_Click">Cancel</Button>
        </StackPanel>
        <StackPanel Orientation="Vertical">
            <DockPanel Margin="5">
                <StackPanel Orientation="Vertical" DockPanel.Dock="Left" Width="180" Margin="0,0,5,0">
                    <Label Content="Professor Name" />
                    <TextBox Name="professorName"/>
                </StackPanel>
                <StackPanel Orientation="Vertical" DockPanel.Dock="Right" Width="180" Margin="5,0,0,0">
                    <Label Content="Website" />
                    <TextBox Name="professorWebsite"/>
                </StackPanel>
            </DockPanel>
            <StackPanel Orientation="Vertical" Margin="5">
                <Label Content="Email" HorizontalAlignment="Center"/>
                <TextBox Name="professorEmail" HorizontalAlignment="Center" Width="240"/>
            </StackPanel>
            <StackPanel Orientation="Vertical" Margin="5">
                <Label Content="Notes" />
                <TextBox Name="professorNotes" Height="200" HorizontalAlignment="Stretch" AcceptsReturn="True" AcceptsTab="True"/>
            </StackPanel>
        </StackPanel>
    </DockPanel>
</Window>
